package com.lbn.jfqsc.app.recruitment.apply;

import android.content.Context;

import com.lbn.baseframe.mvp.BasePresenter;
import com.lbn.baseframe.utils.EasyToast;
import com.lbn.baseframe.utils.NetUtil;

/**
 * @author 李炳南
 * @date 2017/3/1
 */
public class ApplyPresenter extends BasePresenter<IApplyView> {

    public boolean apply(Context context) {
        if (NetUtil.isNetworkAvalible(context)) {
            EasyToast.showShort(context, "申请成功");
            return true;
        } else {
            EasyToast.showShort(context, "网络异常");
            return false;
        }
    }

}
